Revision: kernel-package--devel--9.0--patch-172
Archive: srivasta@debian.org--etch
Creator: Manoj Srivastava <srivasta@debian.org>
Date: Sat Aug  5 20:02:37 CDT 2006
Standard-date: 2006-08-06 01:02:37 GMT
Modified-files: kernel/ChangeLog kernel/pkg/image/ChangeLog
    kernel/pkg/image/postinst kernel/templates.in
New-patches: srivasta@debian.org--etch/kernel-package--devel--9.0--patch-172
Summary: ask the user if ambiguity exists between grub abd lilo
Keywords: 


* kernel/pkg/image/postinst (run_lilo): The default behaviour of the
  postinst script has been to run the built in default bootloader
  (typically lilo) -- set at compile time, based on the arch. The
  installed default for Debian, however, has since moved on to be
  grub. However, users who are transitioning to grub may not have set the
  configuration variable in /etc/kernel-img.conf --and may still have
  lilo installed. The trick is to figure out whether they really want to
  ruyn lilo. So, if there is no /etc/lilo.conf, we run nothing. If the
  user has explicitly asked to run lilo, we rin lilo. Or if there is no
  grub, or if there is no postinst hook script, we run lilo. Or else, we
  ask the user.

* kernel/templates.in (really-run-bootloader): Ask whether to run the
  default bootloader (typically lilo), or let the postinst hook script
  update grub later.
